package com.jx.gocomtask.webservice.DTO;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.jx.gocomtask.utils.AdapterXmlCDATA;
@XmlAccessorType(XmlAccessType.FIELD)  
@XmlRootElement  (name = "xml")
public class GroupPostMessage {
	@XmlElement(name="Type")
	private String type;
	@XmlElement(name="Group")
	@XmlJavaTypeAdapter(AdapterXmlCDATA.class)
	private String group;
	@XmlElement(name="FromUserName")
	@XmlJavaTypeAdapter(AdapterXmlCDATA.class)
	private String fromUserName;
	@XmlElement(name="CreateTime")
	private long createTime;
	@XmlElement(name="MsgType")
	@XmlJavaTypeAdapter(AdapterXmlCDATA.class)
	private String msgType;
	@XmlElement(name="Content")
	@XmlJavaTypeAdapter(AdapterXmlCDATA.class)
	private String content;
	@XmlElement(name="MsgId")
	private int msgId;
	@XmlElement(name="From")
	private String from;
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getGroup() {
		return group;
	}
	public void setGroup(String group) {
		this.group = group;
	}
	public String getFromUserName() {
		return fromUserName;
	}
	public void setFromUserName(String fromUserName) {
		this.fromUserName = fromUserName;
	}
	public long getCreateTime() {
		return createTime;
	}
	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}
	public String getMsgType() {
		return msgType;
	}
	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getMsgId() {
		return msgId;
	}
	public void setMsgId(int msgId) {
		this.msgId = msgId;
	}
	public String getFrom() {
		return from;
	}
	public void setFrom(String from) {
		this.from = from;
	}
}
